<?php
namespace App\Libs\Helper;
include __DIR__.'/../../vendor/phpqrcode/qrlib.php';

class Qrcode{
	/**
	*	生成二维码
	*/
	public static function generate( $str ){
		echo QRcode::png($str);
	}
}
